from django.db import models

# Create your models here.
import datetime

class User(models.Model):
    username=models.CharField(max_length=16,null=False)
    password=models.CharField(max_length=16)
    age=models.PositiveSmallIntegerField(null=True)
    email=models.CharField(max_length=100,unique=True,null=False)
    createDateTime=models.DateTimeField(auto_now_add=datetime.datetime.now())
    # upDateTime=models.DateTimeField(auto_now_add=datetime.datetime.now(),null=True)
    # isdelete=models.BooleanField(default=0)


